<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">

    <h:body>
        <div class="section">
            <div class="clearfix">
                <p:panel id="moreInfo_panel" header="Testemunhas" styleClass="grid_24 clearfix ">
                    <script>
                        $('html, body').animate({ scrollTop: 0 }, 0);
                    </script>
                    <p:outputLabel value="Nome :" styleClass="grid_3" for="testemunhaNome1" />
                    <p:inputText styleClass="grid_13" id="testemunhaNome1" 
                                 required="true" requiredMessage="Nome de duas testemunhas são necessárias." 
                                 value="#{managerCreateSale.sale.nameOfTheWitness1}" >
                    </p:inputText>
                    
                    <p:outputLabel value="CPF :" styleClass="grid_2" for="testemunhaCPF1" />
                    <p:inputMask mask="999.999.999-99" id="testemunhaCPF1" 
                                 required="true" requiredMessage="CPF das testemunhas é obrigatório" 
                                 styleClass="grid_5" value="#{managerCreateSale.sale.cpfOfTheWitness1}" />
                   
                    <div class="clear-both"/>
                    
                    <p:outputLabel value="Nome :" styleClass="grid_3" for="testemunhaNome2"  />
                    <p:inputText styleClass="grid_13" id="testemunhaNome2" 
                                 required="true" requiredMessage="Nome de duas testemunhas são necessárias." 
                                 value="#{managerCreateSale.sale.nameOfTheWitness2}" />
                    
                    <p:outputLabel value="CPF :" styleClass="grid_2"  for="testemunhaCPF2" />
                    <p:inputMask mask="999.999.999-99" id="testemunhaCPF2" styleClass="grid_5" 
                                 required="true" requiredMessage="CPF das testemunhas é obrigatório" 
                                 value="#{managerCreateSale.sale.cpfOfTheWitness2}" />
                    <div class="clear"/>
                </p:panel>

                <p:panel styleClass="grid_24 clearfix " header="Observações">
                    <p:inputTextarea styleClass="grid_23" value="#{managerCreateSale.sale.observation}" />
                </p:panel>
            </div>
        </div>
    </h:body>
</html>
